﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XChip_Common
{
    public enum MsgSt {
        Success, //成功
        Lose, //失败
        Warn //警告
    }
    /// <summary>
    ///数据提供并带状态
    /// </summary>
    /// <typeparam name="T"></typeparam>
 public   class MsgString <T>
    {
        /// <summary>
        /// 数据
        /// </summary>
        public T data;
        /// <summary>
        /// 状态
        /// </summary>
        public MsgSt state;
        /// <summary>
        /// 错误消息
        /// </summary>
        public string msg;
    }
}
